package com.yc.mvplib.Retrofit;

/**
 * Created by lenovo on 2017/12/4.
 */

public class HttpConfig {
    public static  String BASE_URL;
    public static final long DEFAULT_TIMEOUT=60;
    public static final int DEFAULT_HTTP_SUCCESSCODE=200;
    public   class HttpErr{
        public final static int EXCEPTION_NETWORK_NOT_CONNECTED = 0x0001000;
        public final static int EXCEPTION_NETWORK_ERROR = 0x0001001;
        public final static int EXCEPTION_ACCOUNTS = 0x0001002;
        public final static int EXCEPTION_CONNECT = 0x0001003;
        public final static int EXCEPTION_SOCKET = 0x0001004;
        public final static int EXCEPTION_HTTP = 0x0001005;
        public final static int EXCEPTION_UNKNOWN_HOST = 0x0001006;
        public final static int EXCEPTION_JSON_SYNTAX = 0x0001007;
        public final static int EXCEPTION_TIME_OUT = 0x0001008;
        public final static int EXCEPTION_CLASS_CAST = 0x0001009;
        public final static int EXCEPTION_OTHER_ERROR = 0x0001010;
        public final static int EXCEPTION_DATA_ERROR = 0x0001011;

    }

}
